#include<stdlib.h>
#include<stdio.h>
#include<sys/types.h>
#include<sys/stat.h>
#include<unistd.h>
#include <fcntl.h>

int main(int argc,char **argv){

   char tmpname[L_tmpnam];
   FILE *tmppf;
   char *filename;
   filename = tmpnam(tmpname);
   printf("Temporary file name is  %s \n",filename);
   



   return 0;
}